from services.errors.base import BaseServiceError


class FunDomainNotExistError(BaseServiceError):
    def __init__(self, fun_domain_id: str):
        super().__init__(fun_domain_id)
        self.fun_domain_id = fun_domain_id

class FunDomainParamError(BaseServiceError):
    pass

class FunNotExistError(BaseServiceError):
    def __init__(self, func_id: str):
        super().__init__(func_id)
        self.func_id = func_id